package com.mz.mattress.admin.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.mz.mattress.api.common.BaseEntity;
import lombok.Data;

import java.util.List;

@Data
@TableName("sys_user")
public class SysUser extends BaseEntity {

    private Integer id;
    //用户名
    private String username;
    //密码
    private String password;
    //昵称
    private String nickname;
    //手机号
    private String mobile;
    //部门编码
    private String deptCode;
    //状态 0正常 1冻结
    private Integer status;

    @TableField(exist = false)
    private List<Integer> roleIds;

}
